<?php
namespace Controller\Admin\Setting;
class Delete extends \Controller\Admin\Setting
{
    public $data;
    public $path = array('setting', 'setting.edit');
    protected $_tpl = 'admin/setting/edit';

    public function get($id)
    {
        try {
            $settingModel = new \Model\Setting();
            $settingModel->delete($id);
            redirect('/admin/setting');
        } catch (\Exception $e) {
            $this->showError($e->getMessage());
        }
    }

    public function post($id)
    {
    }
}